package com.kd.service.recruiter;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.PageInfo;
import com.kd.bean.recruiter.Recruiter_basic;
import com.kd.bean.recruiter.Recruitment_msg;

/**
 * 招聘者 基本资料(recruiter_basic)
 * @author ZFC
 *
 */
public interface IRecruiter_basicService {
	/**
	 * 管理员
	 * 分页显示所有招聘者信息，
	 * @return
	 * @throws Exception
	 */
	public PageInfo<Recruiter_basic> queryAllBasicMessgae(Integer pageNum,Integer pageSize) throws Exception;
	
	/**
	 * 管理员
	 * 分页显示所有刚刚注册的招聘者信息
	 * 状态为1的
	 * @return
	 * @throws Exception
	 */
	public PageInfo<Recruiter_basic> queryBasicMessgaeByStatei(Integer pageNum,Integer pageSize) throws Exception;
	
	/**
	 * 管理员
	 * 管理员审核通过后修改状态为启用状态
	 * 查看举报招聘者信息，如果确实违规可对招聘者进行禁用
	 * @param recruiter_id
	 * @param recruiter_statei
	 * @return
	 * @throws Exception
	 */
	public Boolean updateBasicState(Integer recruiter_id,Integer recruiter_statei) throws Exception;
	
	/**
	 * 管理员
	 * 招聘人数
	 * @return
	 * @throws Exception
	 */
	public Integer queryRecPersonCount() throws Exception;
	
	
	/**
	 * 招聘者登录
	 * @param basic
	 * @return
	 * @throws Exception
	 */
	public Recruiter_basic basicLogin(Recruiter_basic basic) throws Exception;
	
	/**
	 * 招聘者注册
	 * @param basic
	 * @return
	 * @throws Exception
	 */
	public Boolean basicRegister(Recruiter_basic basic) throws Exception;
	
	/**
	 * 招聘者  找回密码
	 * 通过身份证，手机号，邮箱查看密码
	 * @param basic
	 * @return
	 * @throws Exception
	 */
	public Recruiter_basic queryPwd(Recruiter_basic basic) throws Exception;
	
	/**
	 * 招聘者
	 * 修改基本资料
	 * @param basic
	 * @return
	 * @throws Exception
	 */
	public Boolean updteBasic(Recruiter_basic basic) throws Exception;
	
	/**
	 * 招聘者
	 * 给招聘者 绑定公司
	 * @param company_id
	 * @param recruiter_id
	 * @return
	 */
	public Boolean updateBasicOfCompany(Integer company_id,Integer recruiter_id);
	
	/**
	 * 修改招聘者密码
	 * @param recruiter_ps
	 * @param recruiter_id
	 * @return
	 */
	public Boolean updateBasicPwd(String recruiter_ps,Integer recruiter_id);
	
	/**
	 * 通过基本资料者的id查询 招聘者的基本资料
	 * @param recruiter_id
	 * @return
	 * @throws Exception
	 */
	public Recruiter_basic queryByRecruiter_id(Integer recruiter_id) throws Exception;
	
}
